package com.atguigu.servicebase.exceptionhandler;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author tianxinyu
 * @create 2020-10-14 14:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GuliException  extends   RuntimeException{
    @ApiModelProperty(value = "状态码")
    private Integer code;       //状态码

    private String msg;         //异常码
}
